package com.geekcattle.service.baiDuMap.impl;

import com.geekcattle.mapper.baiDuMapMapper.BaiDuMapMapper;
import com.geekcattle.service.baiDuMap.BaiDuMapService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @program: geek-framework
 * @description:
 * @author: LQ
 * @create: 2019-05-09 00:34
 */
@Service
public class BaiDuMapServiceImpl implements BaiDuMapService {

    @Autowired
    private BaiDuMapMapper baiDuMapMapper;
    @Override
    public void saveMap(Map map) {
        baiDuMapMapper.saveMap(map);
    }

    @Override
    public List<Map> getmap(Map map) {
        return baiDuMapMapper.getmap(map);
    }

    @Override
    public int modifyMap(Map map) {
        return baiDuMapMapper.modifyMap(map);
    }

    @Override
    public int deleteMap(Map map) {
        return baiDuMapMapper.deleteMap(map);
    }
}
